package com.baiyun.yunpan.Util;

import java.util.HashMap;
import java.util.Map;

public class R  extends HashMap<String,Object>{


    public R(){

    }

    public static R ok(){
        R r = new R();
        return r.put("state",true);
    }
    public static R err(){
        R r = new R();
        return r.put("state",false);
    }
    public  R put(String key,Object value){
        super.put(key, value);
        return this;
    }

}
